<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="default" />
<script type="text/javascript">
$(document).ready(function() {
                 //货币格式化
                 $('[data-accounting]').each(
						function() {
							var $this = $(this);
								if ($this.attr("data-accounting-precision")
										&& "" != $this.attr("data-accounting-precision")) {
											$this.html(accounting.formatMoney(
												$this.attr("data-accounting"),
													"¥ ",$this.attr("data-accounting-precision") * 1));
											} else {
												$this.html(accounting.formatMoney(
													$this.attr("data-accounting"),
														"¥ "));
											}
										});
             	parent.document.getElementById("errorStatementPospaySaleSupplierFrame").height = document.body.scrollHeight;
					});
</script>
</head>
<body>
<form:form name="listForm" modelAttribute="bizStatementPospaySaleSupplierError" method="post" class="form-inline" role="form">
	    <input type="hidden" name="deleteIds" >
		<div class="o-l-search-builder f_9">
			<table class="table table-striped table-hover o-l-table table-bordered" id="table1">
				<thead class="t_1">
					<tr>
						<th>门店</th>
						<th>商品条码</th>
						<th>有误收银金额</th>
						<th>实际收银金额</th>
						<th>销售日期</th>
						<th>异常意见</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${page.list}" var="statementPospaySaleSupplierError">
						<tr data-herf="${contextPath}/biz/statement/pospaySaleSupplierError/view?id=${statementPospaySaleSupplierError.id}" data-target="_blank">
							<td>${statementPospaySaleSupplierError.shopName}</td>
							<td>${statementPospaySaleSupplierError.barCode}</td>
							<td>${statementPospaySaleSupplierError.errorAmount}</td>
							<td>${statementPospaySaleSupplierError.actualAmount}</td>
							<td><fmt:formatDate value="${statementPospaySaleSupplierError.saleDate}" pattern="yyyy-MM-dd"/></td>
							<td>${statementPospaySaleSupplierError.remark}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
        </div>
		<pager:pager pageSize="${page.pageSize}" pageNo="${page.pageNo}" url="" total="${page.total}"/>
		<script type="text/javascript" src="${staticPath}/js/list.js"></script>
  </form:form>
</body>
</html>